<?php
	if($_COOKIE['_sid'])
	{
		session_id($_COOKIE['_sid']);
	}
	session_start();
	is_numeric($_SESSION['userinfo']['level'])?($_SESSION['userinfo']['level'] == 0?'':header('Location:/personal/')):header('Location:/login.php');
?>